#ifndef SKYBOXDRAWER_H
#define SKYBOXDRAWER_H

#include "vertex_drawer.h"
#include "sky_box_shader_program.h"
#include "geometry/sky_box.h"

class SkyBoxDrawer : public VertexDrawer
{
    public:
        SkyBoxDrawer(SkyBoxShaderProgram *shaderProgram
                     , SkyBox *skyBox);

    public:
        void draw() override;
        inline void setMatrix(const QMatrix4x4 &matrix) {
            m_matrix = matrix;
        };

    private:
        SkyBox *m_skyBox = nullptr;
        QMatrix4x4 m_matrix;
};

#endif // SKYBOXDRAWER_H
